<div class="main_content">
	<table width="98%" name="tab_main" id="tab_main" class="tab_main" border="0" cellpadding="0" cellspacing="1" align="left">
	<thead>
		<tr>
			<th>序号</th>
			<th>批复单号</th>
			<th>投资计划自编号</th>
			<th>申报人</th>
			<th>申请日期</th>
			<th>批复日期</th>
			<!--<th>计划备注</th>
			<th>批复备注</th>-->
			<th width="15%">操作</th>
		</tr>
	</thead>
	<tbody>
	{%foreach from=$arr item=arr_item%}
		<tr class="list_{%$arr_item.plan_reply_id%}">
			<td>
				{% if $v_mc_arr[$arr_item.plan_reply_id] %}
					<div id="sign_{%$arr_item.plan_reply_id%}" class="sign_pm pcursor sign_plus" onclick="showList(this,{%$arr_item.plan_reply_id%})"></div>
				{% else %}
					<div class="sign_pm sign_minus"></div>
				{% /if %}
			</td>
			<td>{%$arr_item.plan_reply_no%}</td>
			<td>{%$arr_item.investment_no%}</td>
			<td>{%$admin_info[$arr_item.admin_user_id]%}</td>
			<td>{%$arr_item.plan_reply_time|date_format:"%Y-%m-%d"%}</td>
			<td>{%$arr_item.plan_reply|date_format:"%Y-%m-%d"%}</td>
			<!--<td>{%$arr_item.plan_notes%}</td>
			<td>{%$arr_item.plan_reply_content%}</td>-->
			<td>
				<a href='index.php?c=zy_plan_reply&m=browse&plan_reply_id={%$arr_item.plan_reply_id%}'>查看</a>&nbsp;&nbsp;
				<a href='index.php?c=zy_plan_reply&m=edit&plan_reply_id={%$arr_item.plan_reply_id%}'>修改</a>&nbsp;&nbsp;
				<a href='index.php?c=zy_plan_reply&m=del&plan_reply_id={%$arr_item.plan_reply_id%}' onclick="return confirm('您确认删除吗？')">删除</a>
			</td>
		</tr>
		<tr class="hide_chunk">
			<td colspan="15">
				<div class="arrow_open"></div>
				
				<div class="load_list">
					<table width="96%" name="tab_sub" id="tab_sub" class="tab_sub" border="0" cellpadding="0" cellspacing="1" align="left">
						<thead>
							<tr>
								<th>中文名称</th>
								<th>英文名称</th>
								<!--<th>购置性质</th>-->
								<th>规格型号</th>
								<th>申请数量</th>
								<th>批复数量</th>
								<!--<th>制造周期</th>-->
								<th>造价</th>
								<!--<th>管理费</th>-->
							<!--	<th>增值税</th>-->
								<th>申报总价</th>
								<th>批复总价</th>
								<!--<th>差额</th>-->
								<th>所属项目</th>
								<th>操作</th>
							</tr>
						</thead>
						<tbody>	
							{% if $v_mc_arr[$arr_item.plan_reply_id] %}
								{%foreach item=list from=$v_mc_arr[$arr_item.plan_reply_id]%}
								<tr>
									<td>{%$list.mc_cn_name%}</td>
									<td>{%$list.mc_en_name%}</td>
									<!--<td>{%$sell_type_arr[$list.sell_type_id]%}</td>-->
									<td>{%$list.mc_type_model%}</td>
									<td>{%$list.plan_no%}</td>
									<td>{%$list.plan_reply_mc_number%}</td>
									<!--<td>{%$list.make_time%}</td>-->
									<td>{%$list.make_cost%}</td>
									<!--<td>{%$list.manage_cost%}</td>
									<td>{%$list.vat%}</td>-->
									<td>{%$list.make_cost+$list.manage_cost+$list.vat%}</td>
									<td>{%$list.plan_reply_mc_all_cost%}</td>
									<!--<td>{%$list.make_cost+$list.manage_cost+$list.vat-$list.plan_reply_mc_all_cost%}</td>-->
									<td>{%$project_arr[$list.project_id]%}</td>
									<!--<td>{%$list.mc_info%}</td>-->
									<td>
									<a href='index.php?c=zy_plan_reply_mc&m=browse&plan_reply_mc_id={%$list.plan_reply_mc_id%}'>查看</a>&nbsp;&nbsp;
									</td>
								</tr>
								{%/foreach%}
							{%/if%}
						</tbody>										
					</table>
				</div>
			</td>
		</tr>	
	{%/foreach%}
	</tbody>
	{%if $arr_item %}
	<tfoot>
		<tr>
			<td colspan="15"><div id="pager">{%$page_footer%}</div></td>
		</tr>
	</tfoot>
	{%/if%}
	</table>
</div>
